home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1995 November / Macworld Nov ’95.toast / Developers / BoxMaker++ / BoxMaker++ ƒ / Rez files / boxmaker Menus.r < prev    next >
Encoding:
Text File  |  1995-06-14  |  659 b   |  38 lines  |  [TEXT/KAHL]

  1. #ifdef THINK_Rez
  2.     #include <Types.r>
  3. #else
  4.     #include "Types.r"
  5. #endif
  6.  
  7. #include "boxmaker constants.h"
  8. //
  9. // Menus and the Menu bar:
  10. //
  11. resource 'MBAR' (kMBarID) {    { kAppleMenuID, kFileMenuID}};
  12.  
  13. resource 'MENU' (kAppleMenuID) {
  14.     kAppleMenuID,
  15.     textMenuProc,
  16.     0x7FFFFFFD,
  17.     enabled,
  18.     apple,
  19.     {
  20.         "About BoxMaker++…", noIcon, noKey, noMark, plain,
  21.         "-", noIcon, noKey, noMark, plain
  22.     }
  23. };
  24.  
  25. resource 'MENU' (kFileMenuID) {
  26.     kFileMenuID,
  27.     textMenuProc,
  28.     0x7FFFFFFB,
  29.     enabled,
  30.     "File",
  31.     {
  32.         "Select File…", noIcon, "O", noMark, plain,
  33.         "Preferences…", noIcon, noKey, noMark, plain,
  34.         "-", noIcon, noKey, noMark, plain,
  35.         "Quit", noIcon, "Q", noMark, plain
  36.     }
  37. };
  38.